package com.fuyin.entity;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yuanxilan (yuanxilan@keep.com)
 * @Description 操作日志类
 * @date 2021年11月28日 10:36 下午
 * @since
 */
@Data
@Api("操作日志类")
public class OperationLog implements Serializable {

    private static final long serialVersionUID = -7810508103537996680L;
    private Long id;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("ip 地址")
    private String ip;

    @ApiModelProperty("日志种类（登录日志，操作日志）")
    private String type;

    @ApiModelProperty("操作描述")
    private String description;

    @ApiModelProperty("操作时间")
    private Date operationTime;

    @ApiModelProperty("操作结果")
    private String result;
}
